package com.myiam.idm.meta.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="META_IDENTITY_EMAIL")
public class MmIdentityEmail  extends MmBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8713488185560395437L;
	
	
	public MmIdentityEmail() {}
	public MmIdentityEmail(String email, String type ) {
		this.email=email;
		this.type=type;
		
	}
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	@Id
	@GeneratedValue
	private long id;
	
	@Column
	private String email;

	
	@Column String type;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	

}
